package nl.cmkprojects.sage.slimplayer;

import java.net.URLDecoder;

import org.apache.log4j.Logger;

public abstract class Util {
  private final static Logger logger = Logger.getLogger(Util.class);

  public static String urlDecode(String value) {
    try {
      return URLDecoder.decode(value, "UTF-8");
    } catch (Exception e) {
      logger.error("failed to url-decode:" + value);
      return value;
    }
  }
}
